#include "employee.h"

Employee::Employee()
{
    this->id = -1;
}
int Employee::getId() const
{
    return id;
}

void Employee::setId(int value)
{
    id = value;
}
QString Employee::getName() const
{
    return name;
}

void Employee::setName(const QString &value)
{
    name = value;
}
QString Employee::getPhone() const
{
    return phone;
}

void Employee::setPhone(const QString &value)
{
    phone = value;
}
double Employee::getSalaryRate() const
{
    return salaryRate;
}

void Employee::setSalaryRate(double value)
{
    salaryRate = value;
}
double Employee::getCashRate() const
{
    return cashRate;
}

void Employee::setCashRate(double value)
{
    cashRate = value;
}
int Employee::getWorkingStatus() const
{
    return workingStatus;
}

void Employee::setWorkingStatus(int value)
{
    workingStatus = value;
}
QDateTime Employee::getCreatedAt() const
{
    return createdAt;
}

void Employee::setCreatedAt(QDateTime value)
{
    createdAt = value;
}
QDateTime Employee::getModifiedAt() const
{
    return modifiedAt;
}

void Employee::setModifiedAt(QDateTime value)
{
    modifiedAt = value;
}
QDateTime Employee::getPaidAt() const
{
    return paidAt;
}

void Employee::setPaidAt(QDateTime value)
{
    paidAt = value;
}
